package org.linlinjava.litemall.db.util;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

/**
 * @author wj
 * @date 2021/9/13 14:59
 */
public class SnowFlake {

    public static final Snowflake snowflake = IdUtil.getSnowflake(1, 1);

    public static String getIds(){
        return snowflake.nextId()+"";
    }
}
